package com.imooc.springcloud.annotation;

import java.lang.annotation.*;

/**
 * 分布式限流注解
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target({ElementType.METHOD})
public @interface AccessLimiter {

    String methodKey() default "";

    int limit();
}
